﻿<!-- Copyright ©2007-2009, Technische Universitaet Muenchen
   ====================================================================================================
  
   Last Changed by       $Author: kalus $
   Last Changed Date     $LastChangedDate: 2009-04-15 16:35:27 +0200 (Wed, 15 Apr 2009) $
   Last Changed Revision $Rev: 75 $
  
   ====================================================================================================
-->

<CollabXT:ToolProviderConfigPage x:Class="Tum.CollabXT.SharePoint.SharePointConfigPage"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:res="clr-namespace:Tum.CollabXT.SharePoint.Resources"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:CollabXT="clr-namespace:Tum.CollabXT;assembly=Tum.CollabXT"
    Title="SharePoint" Margin="10">
   <Grid>
      <Grid.RowDefinitions>
         <RowDefinition Height="32" />
         <RowDefinition Height="28" />
         <RowDefinition Height="28" />
         <RowDefinition Height="28" />
         <RowDefinition Height="28" />
         <RowDefinition Height="28" />
         <RowDefinition Height="*" />
      </Grid.RowDefinitions>
      <Grid.ColumnDefinitions>
            <ColumnDefinition Width="170" />
            <ColumnDefinition Width="*" />
            <ColumnDefinition Width="70" />
        </Grid.ColumnDefinitions>

      <TextBlock TextWrapping="Wrap" 
                 Grid.ColumnSpan="3" Grid.Row="0" 
                 Name="lblPleaseConfigureProvider" 
                 FontWeight="Bold" Text="{x:Static res:Language.lblPleaseConfigureProvider_TEXT}"/>

      <Label Grid.Row="1" Grid.Column="0" Name="lblSiteTitle" FontWeight="Bold" Content="{x:Static res:Language.lblSiteTitle_TEXT}"/>
      <TextBox Margin="0,5,0,0" Grid.Row="1" Grid.Column="1" Grid.ColumnSpan="2" Name="tbSiteTitle" TextChanged="OnInputControlsChanged"/>

      <Label Grid.Row="2" Grid.Column="0" Name="lblSiteName" FontWeight="Bold" Content="{x:Static res:Language.lblSiteName_TEXT}"/>
      <TextBox Margin="0,5,0,0" Grid.Row="2" Grid.Column="1" Grid.ColumnSpan="2" Name="tbSiteName" TextChanged="OnInputControlsChanged"/>

      <Label Grid.Row="3" Grid.Column="0" Name="lblWebApplication" FontWeight="Bold" Content="{x:Static res:Language.lblWebApplication_TEXT}"/>
      <ComboBox Margin="0,5,0,0" Grid.Row="3" Grid.Column="1" Grid.ColumnSpan="2" Name="cbxWebApplication" SelectionChanged="OnWebApplicationChanged"/>

     <Label Grid.Row="4" Grid.Column="0" Name="lblParentSite" FontWeight="Bold" Content="{x:Static res:Language.lblParentSite_TEXT}"/>
      <ComboBox Margin="0,5,0,0" Grid.Row="4" Grid.Column="1" Grid.ColumnSpan="2" Name="cbxParentSite" SelectionChanged="OnInputControlsChanged"/>

     <Label Grid.Row="5" Grid.Column="0" Name="lblTemplateDirectory" FontWeight="Bold" Content="{x:Static res:Language.lblTemplateDirectory_TEXT}"/>
     <Label Height="28" Margin="0,0,5,0" Name="lblTemplateDirectoryValue" VerticalAlignment="Center" Grid.Row="5" Grid.Column="1" Foreground="Red"/>
     <Button Grid.Column="2" Margin="0,3,0,3" Grid.Row="5" VerticalAlignment="Center" Name="btnSetTemplateDirectory" Click="OnSetTemplateDirectory" Content="{x:Static res:Language.btnSetTemplateDirectory_TEXT}" />

       <TextBlock Grid.Row="6" Grid.ColumnSpan="3" Name="lblStatusMessages" TextWrapping="Wrap"/>
   </Grid>
</CollabXT:ToolProviderConfigPage>
